package com.xiaohui.weibo.dao;

import com.xiaohui.weibo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User,Integer> {
    public User findByLoginNameAndLoginPwd(String name,String pwd);
}
